﻿@model IRIS.Models.NewsletterModel

@{
    ViewBag.Title = "List";
}

<h2>Fréttabréf</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Fréttabréf til Póstlista</legend>

        Fyrirsögn:
        <div class="editor-label">
        @Html.TextBoxFor( x => x.subject)
        </div>
        Texti:
        <div class="editor-field">
            @Html.TextAreaFor( x => x.letter)
        </div>

        <p>
            <input type="submit" value="Senda" />
        </p>
    </fieldset>
}


